Method for Quickly Starting Application Service, and Terminal

ABSTRACT

A method for quickly starting an application service, and a terminal. The method includes acquiring, by a terminal, event trigger information; starting, by the terminal, the application service software after determining that the event trigger information meets a preset quick startup condition; and acquiring, by the terminal, a voice instruction input by a user, and running the application service software according to the voice instruction. According to the method provided in the embodiments of the present disclosure, application service software is started by using event trigger information, so that a background of a terminal starts to perform recording only after the application service software is started, and background recording is stopped after the terminal provides an application service for a user, preventing a recording device in the background of the terminal from being always in a recording state, and further reducing power consumption of the terminal.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.17/106,977, filed on Nov. 30, 2020, which is a continuation of U.S.patent application Ser. No. 14/829,817 filed on Aug. 19, 2015, now U.S.Pat. No. 10/853,028. The U.S. patent application Ser. No. 14/829,817 isa continuation of International Patent Application No. PCT/CN2014/079660filed on Jun. 11, 2014. All of the aforementioned applications arehereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to communications technologies, and inparticular, to a method for quickly starting an application service, anda terminal.

BACKGROUND

Currently, a smartphone becomes an important communication tool inpeople's life, and quickly making a call anytime anywhere is a basicappeal of person-to-person communication. Currently, for making a callby using a smartphone, the steps usually include selecting a dial-uptool, inputting a number in a dial-up interface, tapping a call button,and then calling out. In addition, the dial-up interface is usuallycombined with an address book. A user may also select a contact from theaddress book, enter a details interface of the contact, and then tap adial-up button to call out. A button-pressing operation of at leastthree steps is required in this dial-up process. If the smartphone is ina screen-off state or a standby state (and a screen lock is set for themobile phone), for making a call, the steps further include lighting upa screen and unlocking the screen. However, because of a limitation of abattery life, a smartphone is in a standby or screen-off state for mosttime. In this case, if the user needs to make a call, a button-pressingoperation with at least five steps is required. Therefore, current stepsfor making a call by using a smartphone are relatively complex and notuser-friendly. Therefore, a realistic user demand to be urgentlyresolved is to implement quickly making of a call on a smartphone by auser by performing fewer button-pressing operations.

To enable a user to quickly make a call on a smartphone, in the priorart, a voice of the user is converted into a text by an application,such as a voice assistant, on the smartphone and by using a speechrecognition technology, so as to become an instruction of a smartphonesystem, that is, a call can be made by means of voice input.

However, in the prior art, for starting a voice application, amicrophone (Mic) needs to be occupied for recording, and if the voiceapplication is used in the case of screen-off, a recording device in abackground needs to perform recording for a long time, and anapplication processor (AP) cannot be on standby for a long time, therebyincreasing power consumption of a smartphone and affecting a batterylife of the smartphone.

SUMMARY

A method for quickly starting an application service, and a terminalthat are provided in embodiments of the present disclosure are used toresolve a technical problem in the prior art that power consumption of aterminal is relatively large because a recording device in a backgroundperforms recording for a long time.

According to a first aspect, an embodiment of the present disclosureprovides a method for quickly starting an application service, includingacquiring, by a terminal, event trigger information, where the eventtrigger information is used to start application service software on theterminal; starting, by the terminal, the application service softwareafter determining that the event trigger information meets a presetquick startup condition; and acquiring, by the terminal, a voiceinstruction input by a user, and running the application servicesoftware according to the voice instruction.

With reference to the first aspect, in a first possible implementationmanner of the first aspect, the application service software is dial-upapplication software, and the acquiring, by a terminal, event triggerinformation includes acquiring, by the terminal, the event triggerinformation, where the event trigger information is used to start thedial-up application software; and the acquiring, by the terminal, avoice instruction input by a user, and running the application servicesoftware according to the voice instruction includes acquiring, by theterminal, the voice instruction input by the user, and running thedial-up application software according to the voice instruction.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a second possible implementation mannerof the first aspect, the acquiring, by a terminal, event triggerinformation includes acquiring, by the terminal, the event triggerinformation in a black screen state; and the acquiring, by the terminal,a voice instruction input by a user, and running the application servicesoftware according to the voice instruction includes acquiring, by theterminal in the black screen state, the voice instruction input by theuser, and running the application service software according to thevoice instruction.

With reference to any one of the first aspect to the second possibleimplementation manner of the first aspect, in a third possibleimplementation manner of the first aspect, the acquiring, by a terminal,event trigger information includes receiving, by the terminal, a buttonstartup event that is input by the user by performing an operation on aphysical button; and acquiring, by the terminal, the event triggerinformation according to the button startup event.

With reference to the third possible implementation manner of the firstaspect, in a fourth possible implementation manner of the first aspect,the starting, by the terminal, the application service software afterdetermining that the event trigger information meets a quick startupcondition includes determining, by the terminal, whether a trigger timeof the button startup event is greater than a preset threshold; and ifyes, starting, by the terminal, the application service software.

With reference to any one of the first aspect to the second possibleimplementation manner of the first aspect, in a fifth possibleimplementation manner of the first aspect, the acquiring, by a terminal,event trigger information includes receiving, by the terminal, a sensorstartup event input by the user; and acquiring, by the terminal, theevent trigger information according to the sensor startup event.

With reference to the fifth possible implementation manner of the firstaspect, in a sixth possible implementation manner of the first aspect,the starting, by the terminal, the application service software afterdetermining that the event trigger information meets a quick startupcondition includes determining, by the terminal, whether the eventtrigger information matches event information in a preset eventinformation set of the terminal; and if the event trigger informationmatches the event information in the preset event information set of theterminal, starting, by the terminal, the application service software.

According to a second aspect, an embodiment of the present disclosureprovides a terminal, including an acquiring module configured to acquireevent trigger information, where the event trigger information is usedto start application service software on the terminal; a determining andstartup module configured to start the application service softwareafter it is determined that the event trigger information meets a presetquick startup condition; and a running module configured to acquire avoice instruction input by a user, and run the application servicesoftware according to the voice instruction.

With reference to the second aspect, in a first possible implementationmanner of the second aspect, the application service software is dial-upapplication software, the acquiring module is configured to acquire theevent trigger information, and the event trigger information is used tostart the dial-up application software; and the running module isconfigured to acquire the voice instruction input by the user, and runthe dial-up application software according to the voice instruction.

With reference to the second aspect or the first possible implementationmanner of the second aspect, in a second possible implementation mannerof the second aspect, the acquiring module is configured to acquire theevent trigger information in a black screen state; and the runningmodule is configured to acquire, in the black screen state, the voiceinstruction input by the user, and run the application service softwareaccording to the voice instruction.

With reference to any one of the second aspect to the second possibleimplementation manner of the second aspect, in a third possibleimplementation manner of the second aspect, the acquiring moduleincludes a first receiving unit configured to receive a button startupevent that is input by the user by performing an operation on a physicalbutton; and a first acquiring unit configured to acquire the eventtrigger information according to the button startup event.

With reference to the third possible implementation manner of the secondaspect, in a fourth possible implementation manner of the second aspect,the determining and startup module includes a first determining unitconfigured to determine whether a trigger time of the button startupevent is greater than a preset threshold; and a first startup unitconfigured to when the first determining unit determines that thetrigger time of the button startup event is greater than the presetthreshold, start the application service software.

With reference to any one of the second aspect to the second possibleimplementation manner of the second aspect, in a fifth possibleimplementation manner of the second aspect, the acquiring module furtherincludes a second receiving unit configured to receive a sensor startupevent input by the user; and a second acquiring unit configured toacquire the event trigger information according to the sensor startupevent.

With reference to the fifth possible implementation manner of the secondaspect, in a sixth possible implementation manner of the second aspect,the determining and startup module further includes a second determiningunit configured to determine whether the event trigger informationmatches event information in a preset event information set of theterminal; and a second startup unit configured to start the applicationservice software when the second determining unit determines that theevent trigger information matches the event information in the presetevent information set of the terminal.

According to a third aspect, an embodiment of the present disclosureprovides a terminal, including an input device configured to acquireevent trigger information, where the event trigger information is usedto start application service software on the terminal; and configured toacquire a voice instruction input by a user; and a processor configuredto start the application service software after it is determined thatthe event trigger information meets a preset quick startup condition,and run the application service software according to the voiceinstruction acquired by the input device.

With reference to the third aspect, in a first possible implementationmanner of the third aspect, the application service software is dial-upapplication software, the input device is configured to acquire theevent trigger information, the event trigger information is used tostart the dial-up application software, and the input device is furtherconfigured to acquire the voice instruction input by the user; and theprocessor is configured to run the dial-up application softwareaccording to the voice instruction after the input device acquires thevoice instruction input by the user.

With reference to the third aspect or the first possible implementationmanner of the third aspect, in a second possible implementation mannerof the third aspect, the terminal further includes a display screen, andthe input device is configured to acquire the event trigger informationin a black screen state of the display screen, and configured toacquire, in the black screen state of the display screen, the voiceinstruction input by the user; and the processor is configured to runthe application service software according to the voice instructionacquired by the input device.

With reference to any one of the third aspect to the second possibleimplementation manner of the third aspect, in a third possibleimplementation manner of the third aspect, the input device isconfigured to receive a button startup event that is input by the userby performing an operation on a physical button, and acquire the eventtrigger information according to the button startup event.

With reference to the third possible implementation manner of the thirdaspect, in a fourth possible implementation manner of the third aspect,the processor is configured to determine whether a trigger time of thebutton startup event is greater than a preset threshold, and if yes,start the application service software.

With reference to any one of the third aspect to the second possibleimplementation manner of the third aspect, in a fifth possibleimplementation manner of the third aspect, the terminal further includesa sensor, and the input device is configured to receive a sensor startupevent that is input by the user by using the sensor, and acquire theevent trigger information according to the sensor startup event.

With reference to the fifth possible implementation manner of the thirdaspect, in a sixth possible implementation manner of the third aspect,the processor is configured to determine whether the event triggerinformation matches event information in a preset event information setof the terminal, and if the event trigger information matches the eventinformation in the preset event information set of the terminal, startthe application service software.

According to the method for quickly starting an application service, andthe terminal that are provided in the embodiments of the presentdisclosure, the terminal acquires event trigger information, and startsapplication service software after determining that the event triggerinformation meets a preset quick startup condition, so as to provide acorresponding application service for a user. According to the methodprovided in the embodiments of the present disclosure, applicationservice software is started by using event trigger information, so thata background of a terminal starts to perform recording only after theapplication service software is started, and background recording isstopped after the terminal provides an application service for a user,preventing a recording device in the background of the terminal frombeing always in a recording state, and further reducing powerconsumption of the terminal.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the presentdisclosure or in the prior art more clearly, the following brieflyintroduces the accompanying drawings required for describing theembodiments or the prior art. Apparently, the accompanying drawings inthe following description show some embodiments of the presentdisclosure, and persons of ordinary skill in the art may still deriveother drawings from these accompanying drawings without creativeefforts.

FIG. 1 is a schematic flowchart of Embodiment 1 of a method for quicklystarting an application service according to the present disclosure;

FIG. 2 is a schematic flowchart of Embodiment 2 of a method for quicklystarting an application service according to the present disclosure;

FIG. 3 is a schematic flowchart of Embodiment 3 of a method for quicklystarting an application service according to the present disclosure;

FIG. 4 is a schematic flowchart of Embodiment 4 of a method for quicklystarting an application service according to the present disclosure;

FIG. 5 is a schematic structural diagram of Embodiment 1 of a terminalaccording to the present disclosure;

FIG. 6 is a schematic structural diagram of Embodiment 2 of a terminalaccording to the present disclosure;

FIG. 7 is a schematic structural diagram of Embodiment 3 of a terminalaccording to the present disclosure;

FIG. 8 is a schematic structural diagram of Embodiment 4 of a terminalaccording to the present disclosure;

FIG. 9 is a schematic structural diagram of Embodiment 5 of a terminalaccording to the present disclosure;

FIG. 10 is a schematic structural diagram of Embodiment 6 of a terminalaccording to the present disclosure; and

FIG. 11 is a schematic structural diagram of Embodiment 7 of a terminalaccording to the present disclosure.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of theembodiments of the present disclosure clearer, the following clearlydescribes the technical solutions in the embodiments of the presentdisclosure with reference to the accompanying drawings in theembodiments of the present disclosure. Apparently, the describedembodiments are a part rather than all of the embodiments of the presentdisclosure. All other embodiments obtained by persons of ordinary skillin the art based on the embodiments of the present disclosure withoutcreative efforts shall fall within the protection scope of the presentdisclosure.

A terminal, namely, a user equipment, in this application may be awireless terminal or a wired terminal. The wireless terminal may referto a device that provides a user with voice and/or data connectivity, ahandheld device with a radio connection function, or another processingdevice connected to a radio modem. The wireless terminal may communicatewith one or more core networks through a radio access network (RAN). Thewireless terminal may be a mobile terminal, such as a mobile phone (alsoreferred to as a “cellular” phone) and a computer with a mobileterminal, for example, may be a portable, pocket-sized, handheld,computer built-in, or in-vehicle mobile apparatus, which exchanges voiceand/or data with the radio access network. For example, it may be adevice such as a personal communication service (PCS) phone, a cordlesstelephone set, a Session Initiation Protocol (SIP) phone, a wirelesslocal loop (WLL) station, or a personal digital assistant (PDA). Thewireless terminal may also be referred to as a system, a subscriberunit, a subscriber station, a mobile station, a mobile terminal, aremote station, an access point, a remote terminal, an access terminal,a user terminal, a user agent, a user device, or a user equipment.

The technical solutions of the present disclosure may be applicable toany scenario in which a terminal is in a screen-on state, a black screenstate with a running AP, and a black screen state with a standby AP. Ablack screen refers to a screen-off state, that is, a state in which ascreen of the terminal is powered off. Further, in the embodiments ofthe present disclosure, the black screen may further include a screenlocked state that is presented after the screen is lighted up in thescreen-off state, that is, an initial status of the terminal is thescreen-off state, and after a user lights up the screen, the terminal ispresented in a screen locked state. The state of black screen with arunning AP refers to a state in which the terminal is in the screen-offstate, but some applications in a background still run. For example,when the screen of the terminal is off, some instant messaging software(such as WeChat) still runs in the background; in this case, the AP isin a running state. The state of black screen with a standby AP refersto a state in which the terminal is in the screen-off state, and noapplication runs in the background.

FIG. 1 is a schematic flowchart of Embodiment 1 of a method for quicklystarting an application service according to the present disclosure. Asshown in FIG. 1 , the method may include the following steps.

S101. A terminal acquires event trigger information, where the eventtrigger information is used to start application service software on theterminal. When a user needs to quickly start an application service onthe terminal, the user may perform a related trigger operation on theterminal, so that a processing chip inside the terminal can acquire theevent trigger information according to the trigger operation of theuser, and report the event trigger information to an operating system ofthe terminal. Optionally, a related event triggered by the user on theterminal may be a button event (pressing a button only once), and may bea sensor sensing event, such as a gravity sensing event or a speedsensing event. For example, when the user holds down a physical buttonof a smartphone, the smartphone responds to a button event of the user,that is, converts the button event into event trigger information (theevent trigger information may include a signal, data, and the like afterconversion), and reports the event trigger information to an operatingsystem of the smartphone.

S102. The terminal starts the application service software afterdetermining that the event trigger information meets a preset quickstartup condition. After acquiring the event trigger information, theoperating system of the terminal performs encapsulation andclassification processing on the event trigger information, that is, theoperating system of the terminal determines a type of the event triggerinformation, determines, according to the type of the event triggerinformation, a quick startup condition corresponding to the eventtrigger information, and then determines whether the event triggerinformation meets the determined quick startup condition. Optionally,the quick startup condition may be determining whether a time ofacquiring the event trigger information exceeds a preset time threshold,or may be determining whether the type of the event trigger informationmatches information preset in the terminal, or may further be whethercontent included in the event trigger information is the same asinformation preset in the terminal, or may further be anotherdetermining condition. If a result of the determining is that the eventtrigger information meets the quick startup condition, the terminalstarts corresponding application service software. Optionally,performing a different trigger operation by the user can enable theterminal to acquire different event trigger information, and differentevent trigger information is corresponding to different applicationservice software. For example, if the user currently wants to start avoice service, when the user holds down a physical button (such as avolume down button) on the terminal, the event trigger informationobtained by the terminal is information about voice service software.That is, a trigger operation performed by the user, event triggerinformation acquired by the terminal according to the trigger operationperformed by the user, and an application service software that needs tobe started are corresponding to one another. Optionally, the applicationservice software may be voice dial-up software, and may be instantmessaging software such as WeChat, QQ electronic mail, or a shortmessaging service.

S103. The terminal acquires a voice instruction input by a user, andruns the application service software according to the voiceinstruction. After starting the application service software, theterminal may receive voice input of the user. Accordingly, a recordingdevice in a background starts recording at this time. Optionally, afterstarting the application service software, the terminal may notify, in amanner of vibrating or playing an alert tone, the user that the voiceinstruction can be currently input. After receiving the voiceinstruction input by the user, the terminal runs the application servicesoftware according to the voice instruction input by the user, so as toprovide a corresponding application service for the user. For example,when the user needs to make a call to “XXX”, the user may input “callXXX” by means of voice. In this case, after recording the voiceinstruction, the recording device in the background of the terminaltriggers the voice service software to respond to the voice instructioninput by the user, that is, a speech recognition system in the terminalconverts the received voice instruction into a text instruction, andthen acquires call information (that is, application serviceinformation) according to the text instructions. For example, if thevoice instruction is “call XXX”, the application service informationacquired by the terminal is a number of XXX. After the terminal obtainsthe call information, a quick call system in the terminal starts a callservice.

In the prior art, when a terminal is in a black screen state with arunning AP, and when the terminal needs to provide an applicationservice for a user, application service software is usually started bymeans of voice wake-up, so that the terminal provides a correspondingapplication service. In this case, a recording device in a background ofthe terminal needs to be always in a recording state from the voicewake-up, and after the application service is provided for the user, therecording device in the background is still in the recording state, soas to be ready to receive voice instruction input of the user anytime.Therefore, power consumption of the terminal is relatively large becausethe background performs recording all the time. However, regardless ofwhether a terminal is in a black screen state with a running AP or ablack screen state with a standby AP, in the present disclosure,application service software is started by using event triggerinformation on the terminal, a recording device in a background startsto run only after the application service software is started, so as toreceive a voice instruction of a user, and after the terminal providesan application service for the user, the background stops recording.Therefore, power consumption brought by the recording device in thebackground is reduced. It should be noted that when a terminal is in ablack screen state with a standby AP, and after a user performs atrigger operation on the terminal, the terminal needs to start the AP,and then can acquire event trigger information.

According to the method for quickly starting an application serviceprovided in this embodiment of the present disclosure, a terminalacquires event trigger information, and starts application servicesoftware after determining that the event trigger information meets apreset quick startup condition, so as to provide a correspondingapplication service for a user. According to the method provided in thisembodiment of the present disclosure, application service software isstarted by using event trigger information, so that a background of aterminal starts to perform recording only after the application servicesoftware is started, and background recording is stopped after theterminal provides an application service for a user, preventing arecording device in the background of the terminal from being always ina recording state, and further reducing power consumption of theterminal.

FIG. 2 is a schematic flowchart of Embodiment 2 of a method for quicklystarting an application service according to the present disclosure. Themethod involved in this embodiment is a process in which a call isquickly made on a terminal, that is, the application service software inthe foregoing Embodiment 1 is dial-up application software. As shown inFIG. 2 , the method may include the following steps.

S201. A terminal acquires event trigger information, where the eventtrigger information is used to start dial-up application software. Whena user needs to quickly make a call on the terminal, the user mayperform a related trigger operation on the terminal, so that aprocessing chip inside the terminal can acquire event triggerinformation according to the trigger operation of the user, and reportthe event trigger information to an operating system of the terminal.The event trigger information is used to start the dial-up applicationsoftware, and the dial-up application software may be voice dial-upsoftware. Optionally, the terminal may acquire the event triggerinformation in a screen-on state. Optionally, the terminal may acquirethe event trigger information in a black screen state. For example, theterminal may acquire the event trigger information in a black screenstate with a running AP, may further acquire the event triggerinformation in a black screen state with a standby AP, and may furtheracquire the event trigger information in a black screen state with theterminal having a secure screen lock. This embodiment of the presentdisclosure sets no limitation on a scenario in which the event triggerinformation is acquired.

S202. The terminal starts the dial-up application software afterdetermining that the event trigger information meets a preset quickstartup condition. After acquiring the event trigger information used tostart the dial-up application software, the operating system of theterminal determines a type of the event trigger information, determines,according to the type of the event trigger information, a quick startupcondition corresponding to the event trigger information, and thendetermines whether the event trigger information meets the determinedquick startup condition. Optionally, the quick startup condition may bedetermining whether a time of acquiring the event trigger informationexceeds a preset time threshold, or may be determining whether the typeof the event trigger information matches information preset in theterminal, or may further be determining whether content included in theevent trigger information is the same as information preset in theterminal, or may further be another determining condition. If a resultof the determining is that the event trigger information meets the quickstartup condition, the terminal starts the dial-up application software.

S203. The terminal acquires a voice instruction input by a user, andruns the dial-up application software according to the voiceinstruction. After starting the dial-up application software, theterminal may receive voice input of the user. Accordingly, a recordingdevice in a background starts recording at this time. Optionally, afterstarting the dial-up application software, the terminal may notify, in amanner of vibrating or playing an alert tone, the user that the voiceinstruction can be currently input. After receiving the voiceinstruction input by the user, the terminal runs the dial-up applicationsoftware according to the voice instruction input by the user. Forexample, when the user needs to make a call to “XXX”, the user may input“call XXX” by means of voice. In this case, after recording the voiceinstruction, the recording device in the background of the terminaltriggers the dial-up application software to respond to the voiceinstruction input by the user, that is, a speech recognition system inthe terminal converts the received voice instruction into a textinstruction, and then acquires call information (that is, applicationservice information) according to the text instructions. For example, ifthe voice instruction is “call XXX”, the application service informationacquired by the terminal is a number of XXX. After the terminal obtainsthe call information, a quick call system in the terminal starts a callservice. Optionally, the terminal may receive, in the case of screen-on,the voice instruction input by the user. Optionally, the terminal mayfurther receive, in a black screen state, the voice instruction input bythe user. For example, the terminal may receive, in a black screen statewith a running AP, the voice instruction input by the user, may furtherreceive, in a black screen state with a standby AP, the voiceinstruction input by the user, and may further receive, in a blackscreen state with the terminal having a secure screen lock, the voiceinstruction input by the user. This embodiment of the present disclosuresets no limitation on a scenario in which the voice instruction input bythe user is received.

According to the method for quickly starting an application serviceprovided in this embodiment of the present disclosure, a terminalacquires event trigger information, and starts dial-up applicationsoftware after determining that the event trigger information meets apreset quick startup condition, so as to provide a correspondingapplication service for a user. According to the method provided in thisembodiment of the present disclosure, dial-up application software isstarted by using event trigger information, so that a background of aterminal starts to perform recording only after the dial-up applicationsoftware is started, and background recording is stopped after theterminal provides a dial-up service for a user, preventing a recordingdevice in the background of the terminal from being always in arecording state, and further reducing power consumption of the terminal.

FIG. 3 is a schematic flowchart of Embodiment 3 of a method for quicklystarting an application service according to the present disclosure.This embodiment involves a process in which a user triggers, by using abutton, a terminal to start an application service. As shown in FIG. 3 ,the method may include the following steps.

S301. A terminal receives a button startup event that is input by a userby performing an operation on a physical button. When the user needs toquickly start an application service on the terminal, the user mayperform a button-pressing operation on the terminal, that is, the usermay input the button startup event to the terminal by performing thebutton-pressing operation.

Optionally, the terminal receives the button startup event that is inputby the user by performing an operation on the physical button once, thatis, the button startup event is input by the user to the terminal byperforming one button-pressing operation. For example, it is assumedthat the terminal is a smartphone, the button startup event of the usermay be startup by holding down a physical button of the terminal, suchas startup by holding down a volume down button (Volume−), startup byholding down a volume up button (Volume+), startup by holding down apower button, or startup by holding down a shutter button of a mobilephone camera; may further be startup by holding down a Bluetooth headsetbutton, such as startup by holding down a Bluetooth headset dial key,startup by holding down a Bluetooth headset volume down button, orstartup by holding down a Bluetooth headset volume up button; and mayfurther be startup by holding down a wired headset button, such asstartup by holding down a wired headset volume down button, startup byholding down a wired headset volume up button, or startup by holdingdown a wired headset play button. Performing an operation on a physicalbutton once by the user to input the button startup event is supportedby the terminal, facilitating a user operation. In particular, in ascreen-off or screen locked state of the terminal, supporting input ofthe button startup event by performing one operation improvesmanipulation efficiency.

Optionally, the terminal receives a button startup event that is inputby the user by double-tapping a button or tapping a button.

S302. The terminal acquires the event trigger information according tothe button startup event. It should be noted that when the terminal isin a black screen state with a running AP, the terminal may directlyacquire the event trigger information according to the button startupevent of the user. When the terminal is in a black screen state with astandby AP, after receiving the button startup event of the user, theterminal needs to power on the AP to activate the AP, and then canacquire the event trigger information according to the button startupevent.

S303. The terminal determines whether a trigger time of the buttonstartup event is greater than a preset threshold, and if yes, theterminal starts application service software. When the terminal is inthe black screen state with a running AP, after acquiring the eventtrigger information, the terminal directly performs encapsulation andclassification processing on the event trigger information. When theterminal is in the black screen state with a standby AP, the terminalneeds to perform self-test and recovery on the AP after the AP ispowered on, and the terminal performs encapsulation and classificationprocessing on the acquired event trigger information only after it isdetected that a status of the AP is normal.

Encapsulation and classification processing performed by the terminal onthe event trigger information is determining a type of the event triggerinformation by the terminal. When the terminal determines that the typeof the event trigger information is a button startup event, the terminaldetermines, according to the type of the event trigger information, thata quick startup condition corresponding to the event trigger informationis whether a trigger time of the button startup event is greater thanthe preset threshold. For example, it is determined whether a time ofpressing a button by the user is greater than a preset threshold. If thetime of pressing a button by the user is greater than the presetthreshold, the terminal starts the application service software.Optionally, when the user presses a different button, it indicates thatthe user needs to start different application service software. Forexample, if the user currently wants to start a voice service, when theuser holds down a volume down button on the terminal, the event triggerinformation obtained by the terminal is information about voice servicesoftware. If the user currently wants to start a short messagingservice, when the user holds down a volume up button on the terminal,the event trigger information obtained by the terminal is informationabout short messaging service software. That is, a button-pressingoperation performed by the user, event trigger information acquired bythe terminal according to the button-pressing operation performed by theuser, and an application service software that needs to be started arecorresponding to one another.

S304. The terminal receives the voice instruction input by the user.After starting the application service software, the terminal mayreceive voice input of the user. Accordingly, a recording device in abackground starts recording at this time. Optionally, after starting theapplication service software, the terminal may notify, in a manner ofvibrating or playing an alert tone, the user that the voice instructioncan be currently input.

S305. The terminal converts the voice instruction into a textinstruction, so as to acquire application service information. Afterreceiving the voice instruction input by the user, the terminal convertsthe voice instruction into the text instruction according to the voiceinstruction input by the user, so as to acquire the application serviceinformation related to the voice instruction.

S306. The terminal provides the application service according to theapplication service information. In an implementation manner of thisembodiment of the present disclosure, the terminal may perform anoperation of quickly making a call. Optionally, the terminal is a mobilephone. Optionally, the terminal is in a black screen state with arunning AP. Optionally, the terminal is in a screen locked state.

The user starts application service software by using a button on thesmartphone, that is, the user performs one button-pressing operation onthe smartphone, for example, holds down a volume down button, so as toinput a button startup event to the smartphone. Related hardware of thesmartphone responds to the button startup event of the user, which isrepresented as converting a button event of the user into event triggerinformation that includes information such as a signal and data, andreporting the event trigger information to an operating system of thesmartphone. After receiving the event trigger information, the operatingsystem of the smartphone performs encapsulation and classificationprocessing on the event trigger information, that is, determines a quickstartup condition corresponding to the event trigger information (thatis, whether a time of holding down a button by the user is greater thana preset threshold), and starts voice service software after determiningthat the time of holding down a button by the user is greater than thepreset threshold.

A device in a background of the smartphone starts to perform recordingonly after the smartphone starts the voice service software, so as toreceive voice instruction input of the user. In this case, the voiceservice software may notify, in a manner of playing an alert tone orvibrating, the user that a voice instruction for making a call, such as“redial”, “call XXX”, or “make a call to XXX”, can be input, where “XXX”is a name of a contact. A speech recognition system in the smartphoneconverts the received voice instruction into a text instruction, andthen acquires application service information (that is, callinformation) according to the text instructions. For example, if thevoice instruction is “redial”, the application service informationfinally acquired by the smartphone is a call number last time; if thevoice instruction is “call XXX”, the application service informationfinally acquired by the smartphone is a number of XXX.

After the smartphone obtains the application service information, aquick call system of the smartphone starts a call service. In this case,the smartphone automatically lights up a screen, automatically hides asecure-lock unlocking interface to display a call interface, and remindsthe user of call information, such as a called party or a call number.If the call information is incorrect, the user may directly abort a callprocess by means of voice or by tapping a call hang-up button. In anentire procedure for starting a voice service, the user requires onlyone time of button pressing and one time of voice instruction input.

After the user finishes the call, that is, the voice service provided bythe smartphone for the user is complete, the device in the background ofthe smartphone stops recording, and the smartphone still displays thesecure-lock unlocking interface. During a period of calling andconversation, personal information of the user, such as address bookdata and personal information that is stored on the mobile phone, isstill protected by a secure lock.

According to the method for quickly starting an application serviceprovided in this embodiment of the present disclosure, a user inputs abutton startup event to a terminal, so that the terminal acquires eventtrigger information according to the button startup event, and startsapplication service software after determining that the event triggerinformation meets a preset quick startup condition, so as to provide anapplication service for the user. According to the method provided inthis embodiment of the present disclosure, application service softwareis started by using event trigger information, so that a background of aterminal starts to perform recording only after the application servicesoftware is started, and background recording is stopped after theterminal provides an application service for a user, preventing arecording device in the background of the terminal from being always ina recording state, and further reducing power consumption of theterminal. In addition, according to the method provided in thisembodiment of the present disclosure, a user does not need to light up ascreen or unlock a screen, but only needs to perform one button-pressingoperation and input one voice instruction, so that a terminal canprovide a corresponding application service, which is easy to operate,thereby improving manipulation efficiency and enhancing user experience.

FIG. 4 is a schematic flowchart of Embodiment 4 of a method for quicklystarting an application service according to the present disclosure. Themethod involved in this embodiment is a process in which a user startsapplication service software on a terminal by using a sensor startupevent, so that the terminal provides a corresponding application servicefor the user. As shown in FIG. 4 , the method may include the followingsteps.

S401. A terminal receives a sensor startup event input by a user. Whenthe user needs to quickly start an application service on the terminal,the user may perform a sensing operation on the terminal, and input thesensor startup event to the terminal by using the sensing operation,that is, the terminal may acquire the sensor startup event by sensing agesture of the user. For example, it is assumed that the terminal is asmartphone, the sensor startup event of the user may be that the userholds an earpiece near an ear of the user, may further be another eventthat the user quickly swings the smartphone and then stops, and thelike.

S402. The terminal acquires event trigger information according to thesensor startup event. It should be noted that when the terminal is in ablack screen state with a running AP, the terminal may directly acquirethe event trigger information according to the sensor startup event ofthe user. When the terminal is in a black screen state with a standbyAP, after receiving the sensor startup event of the user, the terminalneeds to power on the AP to activate the AP, and then can acquire theevent trigger information according to the sensor startup event.Optionally, the sensor startup event input by the user may further becombined with the button startup event in the foregoing Embodiment 2, sothat the terminal acquires the event trigger information.

S403. The terminal determines whether the event trigger informationmatches event information in a preset event information set of theterminal, and if the event trigger information matches the eventinformation in the preset event information set of the terminal, theterminal starts the application service software. When the terminal isin the black screen state with a running AP, after acquiring the eventtrigger information, the terminal directly performs encapsulation andclassification processing on the event trigger information. When theterminal is in the black screen state with a standby AP, the terminalneeds to perform self-test recovery on the AP after the AP is poweredon, and the terminal performs encapsulation and classificationprocessing on the acquired event trigger information only after it isdetected that a status of the AP is normal.

Encapsulation and classification processing performed by the terminal onthe event trigger information is actually determining a type of theevent trigger information by the terminal. When the terminal determinesthat the type of the event trigger information is a sensor startupevent, the terminal determines, according to the type of the eventtrigger information, that a quick startup condition corresponding to theevent trigger information is whether the event trigger informationmatches the event information in the preset event information set (thepreset event information set of the terminal includes multiple pieces ofevent information). Optionally, the preset information set may be storedin a form of an entry, or may also be stored in a form of an informationbase, which is not limited in this embodiment of the present disclosure.If the event trigger information matches the event information in thepreset event information set, the terminal starts the applicationservice software. Optionally, when the user inputs a different sensorstartup event to the terminal, it indicates that the user needs to startdifferent application service software. For example, if the usercurrently wants to start a voice service, the user holds the earpiece ofthe mobile phone near the ear, and the event trigger informationobtained by the terminal according to the sensor startup event isinformation about voice service software. If the user currently wants tostart a short messaging service, the user swings the mobile phone, andthe event trigger information obtained by the terminal according to thesensor startup event is information about short messaging servicesoftware. That is, a sensing operation performed by the user (that is, asensor startup event input by the user), event trigger informationacquired by the terminal according to the sensing operation performed bythe user, and an application service software that needs to be startedare corresponding to one another.

S404. The terminal receives the voice instruction input by the user.After starting the application service software, the terminal mayreceive voice input of the user. Accordingly, a recording device in abackground starts recording at this time. Optionally, after starting theapplication service software, the terminal may notify, in a manner ofvibrating or playing an alert tone, the user that the voice instructioncan be currently input.

S405. The terminal converts the voice instruction into a textinstruction, so as to acquire application service information. Afterreceiving the voice instruction input by the user, the terminal convertsthe voice instruction into the text instruction according to the voiceinstruction input by the user, so as to acquire the application serviceinformation related to the voice instruction.

S406. The terminal provides the application service according to theapplication service information. In an implementation manner of thisembodiment of the present disclosure, the terminal may perform anoperation of quickly making a call. Optionally, the terminal is a mobilephone. Optionally, the terminal is in a black screen state with arunning AP. Optionally, the terminal is in a screen locked state.

The user starts application service software by performing a sensingoperation on the smartphone. That is, the user performs one sensingoperation on the smartphone. For example, the user holds an earpiece ofthe smartphone near the ear, so as to input a sensor startup event tothe smartphone. Related hardware of the smartphone responds to thesensor startup event of the user, that is, the smartphone first powerson the AP to activate the AP, and then converts the sensor startup eventof the user into event trigger information that includes informationsuch as a signal and data, and reports the event trigger information toan operating system of the smartphone. After receiving the event triggerinformation, the operating system of the smartphone first performsself-test recovery on the AP, and after a status of the AP is normal,encapsulation and classification processing is performed on the eventtrigger information, that is, a quick startup condition corresponding tothe event trigger information (that is, whether the event triggerinformation matches event information in a preset event information setof the smartphone) is determined, and after it is determined that theevent trigger information matches the event information in the presetevent information set of the smartphone, voice service software isstarted.

A device in a background of the smartphone starts to perform recordingonly after the smartphone starts the voice service software, so as toreceive voice instruction input of the user. In this case, the voiceservice software may notify, in a manner of playing an alert tone orvibrating, the user that a voice instruction for making a call, such as“redial”, “call XXX”, or “make a call to XXX”, can be input, where “XXX”is a name of a contact. A speech recognition system in the smartphoneconverts the received voice instruction into a text instruction, andthen acquires application service information (that is, callinformation) according to the text instructions. For example, if thevoice instruction is “redial”, the application service informationfinally acquired by the smartphone is a call number last time; if thevoice instruction is “call XXX”, the application service informationfinally acquired by the smartphone is a number of XXX.

After the smartphone obtains the application service information, aquick call system of the smartphone starts a call service. In this case,the smartphone automatically lights up a screen, automatically hides asecure-lock unlocking interface to display a call interface, and remindsthe user of call information, such as a called party or a call number.If the call information is incorrect, the user may directly abort a callprocess by means of voice or by tapping a call hang-up button. In anentire procedure for starting a voice service, the user requires onlyone sensing operation and one time of voice instruction input.

After the user finishes the call, that is, the voice service provided bythe smartphone for the user is complete, the device in the background ofthe terminal stops recording, and the smartphone still displays thesecure-lock unlocking interface. During a period of calling andconversation, personal information of the user, such as address bookdata and personal information that is stored on the mobile phone, isstill protected by a secure lock.

According to the method for quickly starting an application serviceprovided in this embodiment of the present disclosure, a user inputs asensor startup event to a terminal, so that the terminal acquires eventtrigger information according to the sensor startup event, and startsapplication service software after determining that the event triggerinformation meets a preset quick startup condition, so as to provide anapplication service for the user. According to the method provided inthis embodiment of the present disclosure, application service softwareis started by using event trigger information, so that a background of aterminal starts to perform recording only after the application servicesoftware is started, and background recording is stopped after theterminal provides an application service for a user, preventing arecording device in the background of the terminal from being always ina recording state, and further reducing power consumption of theterminal. In addition, according to the method provided in thisembodiment of the present disclosure, a user does not need to light up ascreen or unlock a screen, but only needs to perform one sensingoperation and input one voice instruction, so that a terminal canprovide a corresponding application service, which is easy to operate,thereby enhancing user experience.

Persons of ordinary skill in the art may understand that all or a partof the steps of the foregoing method embodiments may be implemented by aprogram instructing relevant hardware. The program may be stored in acomputer readable storage medium. When the program runs, the steps ofthe foregoing method embodiments are performed. The foregoing storagemedium includes any medium that can store program code, such as a readonly memory (ROM), a random access memory (RAM), a magnetic disk, or anoptical disc.

FIG. 5 is a schematic structural diagram of Embodiment 1 of a terminalaccording to the present disclosure. As shown in FIG. 5 , the terminalincludes an acquiring module 10, a determining and startup module 11,and a running module 12. The acquiring module 10 is configured toacquire event trigger information, where the event trigger informationis used to start application service software on the terminal. Thedetermining and startup module 11 is configured to start the applicationservice software after it is determined that the event triggerinformation meets a preset quick startup condition. The running module12 is configured to acquire a voice instruction input by a user, and runthe application service software according to the voice instruction.

The terminal provided in this embodiment of the present disclosure canexecute the foregoing method embodiments for quickly starting anapplication service. Implementation principles and technical effects ofthe terminal are similar, and details are not described herein again.

Further, the application service software is dial-up applicationsoftware, the acquiring module 10 is configured to acquire the eventtrigger information, and the event trigger information is used to startthe dial-up application software; and the running module 12 isconfigured to acquire the voice instruction input by the user, and runthe dial-up application software according to the voice instruction.

Further, the acquiring module 10 is configured to acquire the eventtrigger information in a black screen state, and the running module 12is configured to acquire, in the black screen state, the voiceinstruction input by the user, and run the application service softwareaccording to the voice instruction.

FIG. 6 is a schematic structural diagram of Embodiment 2 of a terminalaccording to the present disclosure. On the basis of the foregoingembodiment shown in FIG. 5 , further, the acquiring module 10 includes afirst receiving unit 101 configured to receive a button startup eventthat is input by the user by performing an operation on a physicalbutton, and a first acquiring unit 102 configured to acquire the eventtrigger information according to the button startup event. Thedetermining and startup module 11 includes a first determining unit 111configured to determine whether a trigger time of the button startupevent is greater than a preset threshold, and a first startup unit 112configured to start the application service software when the firstdetermining unit 111 determines that the trigger time of the buttonstartup event is greater than the preset threshold,.

The terminal provided in this embodiment of the present disclosure canexecute the foregoing method embodiments for quickly starting anapplication service. Implementation principles and technical effects ofthe terminal are similar, and details are not described herein again.

FIG. 7 is a schematic structural diagram of Embodiment 3 of a terminalaccording to the present disclosure. On the basis of the foregoingembodiment shown in FIG. 5 , further, the acquiring module 10 mayfurther include a second receiving unit 103 configured to receive asensor startup event input by the user, and a second acquiring unit 104configured to acquire the event trigger information according to thesensor startup event. The determining and startup module 11 furtherincludes a second determining unit 113 configured to determine whetherthe event trigger information matches event information in a presetevent information set of the terminal, and a second startup unit 114configured to start the application service software when the seconddetermining unit 113 determines that the event trigger informationmatches the event information in the preset event information set of theterminal,.

Optionally, in Embodiment 4 of a terminal shown in FIG. 8 , the firstreceiving unit 101 and the first acquiring unit 102 shown in FIG. 6 andthe second receiving unit 103 and the second acquiring unit 104 in FIG.7 may be all integrated into the acquiring module 10; and the firstdetermining unit 111 and the first startup unit 112 in FIG. 6 and thesecond determining unit 113 and the second startup unit 114 in FIG. 7may be all integrated into the determining and startup module 11. Thefirst receiving unit 101, the first acquiring unit 102, the firstdetermining unit 111, and the first startup unit 112 function in acollaborative manner in a button startup scenario. The second receivingunit 103, the second acquiring unit 104, the second determining unit113, and the second startup unit 114 function in a collaborative mannerin a sensor startup scenario.

The terminal provided in this embodiment of the present disclosure canexecute the foregoing method embodiments for quickly starting anapplication service. Implementation principles and technical effects ofthe terminal are similar, and details are not described herein again.

FIG. 9 is a schematic structural diagram of Embodiment 5 of a terminalaccording to the present disclosure. As shown in FIG. 9 , the terminalincludes an input device 20 and a processor 21. The input device 20 isconfigured to acquire event trigger information, where the event triggerinformation is used to start application service software on theterminal; and configured to acquire a voice instruction input by a user.The processor 21 is configured to start the application service softwareafter it is determined that the event trigger information meets a presetquick startup condition, and run the application service softwareaccording to the voice instruction acquired by the input device 20.

The terminal provided in this embodiment of the present disclosure canexecute the foregoing method embodiments for quickly starting anapplication service. Implementation principles and technical effects ofthe terminal are similar, and details are not described herein again.

Further, the application service software is dial-up applicationsoftware, the input device 20 is configured to acquire the event triggerinformation, the event trigger information is used to start the dial-upapplication software, and the input device 20 is further configured toacquire the voice instruction input by the user. The processor 21 isconfigured to run the dial-up application software according to thevoice instruction after the input device 20 acquires the voiceinstruction input by the user,.

FIG. 10 is a schematic structural diagram of Embodiment 6 of a terminalaccording to the present disclosure. On the basis of the foregoingembodiment shown in FIG. 9 , further, the terminal further includes adisplay screen 22. The input device 20 is configured to acquire theevent trigger information in a black screen state of the display screen22, and configured to acquire, in the black screen state of the displayscreen 22, the voice instruction input by the user. The processor 21 isconfigured to run the application service software according to thevoice instruction acquired by the input device 20. Optionally, in animplementation manner of this embodiment of the present disclosure, thedisplay screen 22 may also be a touchscreen, and the touchscreen may bean exemplary form of the input device 20. That is, the display screen 22may integrate an output function and an input function. In this case,that the input device 20 is configured to acquire the event triggerinformation in the black screen state of the display screen 22 mayinclude acquiring, by the input device 20, the event trigger informationin a black screen state of the touchscreen.

Optionally, the input device 20 is configured to receive a buttonstartup event that is input by the user by performing an operation on aphysical button, and acquire the event trigger information according tothe button startup event. The processor 21 is configured to determinewhether a trigger time of the button startup event is greater than apreset threshold, and if yes, start the application service software.

Optionally, referring to Embodiment 7 of a terminal shown in FIG. 11 ,on the basis of the embodiment shown in FIG. 10 , the terminal mayfurther include a sensor 23. The input device 20 is configured toreceive a sensor startup event that is input by the user by using thesensor 23, and acquire the event trigger information according to thesensor startup event. The processor 21 is configured to determinewhether the event trigger information matches event information in apreset event information set of the terminal, and if the event triggerinformation matches the event information in the preset eventinformation set of the terminal, start the application service software.Optionally, in an implementation manner of this embodiment of thepresent disclosure, the sensor 23 may be an exemplary form of the inputdevice 20. That is, the sensor 23 receives the sensor startup eventinput by the user, and acquires the event trigger information accordingto the sensor startup event.

The terminal provided in this embodiment of the present disclosure canexecute the foregoing method embodiments for quickly starting anapplication service. Implementation principles and technical effects ofthe terminal are similar, and details are not described herein again.

It should be noted that in all the foregoing embodiments of the presentdisclosure, for same or corresponding technical features, reference maybe made to each other.

Finally, it should be noted that the foregoing embodiments are merelyintended for describing the technical solutions of the presentdisclosure, but not for limiting the present disclosure. Although thepresent disclosure is described in detail with reference to theforegoing embodiments, persons of ordinary skill in the art shouldunderstand that they may still make modifications to the technicalsolutions described in the foregoing embodiments or make equivalentreplacements to some or all technical features thereof, withoutdeparting from the scope of the technical solutions of the embodimentsof the present disclosure.

1. A method for starting a voice service application on a terminal with a display screen, comprising: receiving, by the terminal when the display screen is in a locked state and in a screen-on state, a first operation from a user via a headset connected with the terminal, wherein personal information stored in the terminal is protected by a secure lock in the locked state, and wherein the display screen is powered-on in the screen-on state; starting the voice service application when the first operation satisfies a preset condition; receiving, by the terminal when the display screen is in the locked state and in the screen-on state, a voice instruction, wherein the voice instruction comprises information associated with contact information stored in the terminal; dialing a remote device associated with the contact information while the display screen is in the locked state; displaying the contact information on the display screen while the display screen continues to be in the locked state; keeping the display screen in the locked state during a call with the remote device; and displaying a lock screen interface to indicate that the display screen is in the locked state after ending the call to the remote device, wherein the lock screen interface locks the display screen when the display screen is in the screen-on state.
 2. The method of claim 1, wherein the headset is a Bluetooth headset or a wired headset.
 3. The method of claim 2, wherein the first operation is an operation on a button of the headset.
 4. The method of claim 3, wherein the preset condition is that a duration of the button of the headset being held down is greater than a preset threshold.
 5. The method of claim 1, further comprising preventing the user from accessing personal information stored on the terminal by maintaining the display screen in the locked state while automatically dialing the remote device, while displaying the contact information, during the call with the remote device, and while displaying the lock screen interface.
 6. The method of claim 1, further comprising: receiving a user input on a call hang-up button on the terminal; and aborting the dialing in response to the user input.
 7. The method of claim 6, wherein after aborting the dialing, the method further comprises displaying the lock screen interface.
 8. The method of claim 1, wherein the contact information comprises a name of a called party or a call number.
 9. The method of claim 3, wherein the button is a volume down button or a power button.
 10. The method of claim 1, further comprising notifying the user to input the voice instruction by playing an alert tone or providing a vibration.
 11. A terminal, comprising: a processor; a display screen coupled to the processor; and a non-transitory memory coupled to the processor and configured to store instructions, wherein the processor is configured to execute the instructions to cause the terminal to: display, on the display screen, a lock screen interface indicating that the terminal is in a locked state; receive a first operation via a headset connected with the terminal while displaying the lock screen interface; start a voice service application when the first operation satisfies a preset condition; receive a voice instruction input from a user, wherein the voice instruction comprises information associated with contact information stored in the terminal; dial a call to a remote device associated with the contact information; display a call interface while the terminal is in the locked state; display the lock screen interface after ending the call to the remote device, wherein user information stored on the terminal is protected by a secure lock when the terminal is in the locked state.
 12. The terminal of claim 11, wherein the headset connected with the terminal is a Bluetooth headset or a wired headset.
 13. The terminal of claim 12, wherein the first operation is an operation on a button of the headset.
 14. The terminal of claim 13, wherein the preset condition is that a duration of the button of the headset being held down is greater than a preset threshold.
 15. The terminal of claim 11, wherein the instructions further cause the terminal to prevent the user from accessing personal information stored on the terminal by maintaining the display screen in the locked state while automatically dialing the remote device, while displaying the contact information, during the call with the remote device, and while displaying the lock screen interface.
 16. The terminal of claim 11, wherein the instructions further cause the terminal to receive a user input on a call hang-up button; and abort the dialing in response to the user input.
 17. The terminal of claim 16, wherein after aborting the dialing, the instructions further cause the terminal to display the lock screen interface.
 18. The terminal of claim 11, wherein the contact information comprises a name of a called party or a call number.
 19. The terminal of claim 13, wherein the button is a volume down button or a power button.
 20. The terminal of claim 11, wherein the instructions further cause the terminal to notify the user to input the voice instruction by playing an alert tone or providing a vibration. 